home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000220_news@columbia.edu_Mon Apr 24 14:22:14 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA01821
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 24 Apr 1995 18:25:32 -0400
  3. Received: by apakabar.cc.columbia.edu id AA11136
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 24 Apr 1995 18:25:29 -0400
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!news.cs.columbia.edu!news.nyc.pipeline.com!psinntp!nntp.hk.super.net!news.ust.hk!apang
  7. From: apang@cs.ust.hk (Albert PANG)
  8. Subject: How To read/write Chinese at a remote host using UNIX C-Kermit
  9. Message-Id: <1995Apr24.142214.28377@uxmail.ust.hk>
  10. Sender: usenet@uxmail.ust.hk
  11. Nntp-Posting-Host: cssu81.cs.ust.hk
  12. Organization: The Hong Kong University of Science and Technology
  13. X-Newsreader: TIN [version 1.2 PL2]
  14. Date: Mon, 24 Apr 1995 14:22:14 GMT
  15. Lines: 84
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18.  
  19. How to read/write Chinese at a remote host using UNIX C-Kermit
  20. ==============================================================
  21.  
  22. Software required:
  23. -----------------
  24. 1) cxterm
  25. 2) kermit
  26.  
  27. 'cxterm' is available at anonymous ftp 
  28.  
  29.      ftp://cs.purdue.edu:/pub/ygz/cxterm-??.??.??.tar.Z
  30.  
  31. Linuxers can also get a binary version on Linux at
  32.  
  33.     ftp://sunsite.unc.edu:/pub/Linux/X11/xutils/terms/cxterm-??.tar.gz
  34.  
  35. C-Kermit 5A for your version of UNIX is available from
  36.  
  37.     ftp://kermit.columbia.edu/kermit/archives/cku190.tar.{Z,gz}
  38.  
  39. Setup procedure:
  40. ----------------
  41. 1. Make sure you have cxterm properly installed
  42.    and can display/write Chinese characters in your local host.
  43.    To get cxterm properly installed, the FAQ for cxterm, which is available
  44.    at anonymous ftp:
  45.  
  46.     cs.purdue.edu:/pub/ygz/CXTERM.FAQ
  47.  
  48.    will be helpful. 
  49.  
  50.    There are currently a few encoding methods for Chinese characters.
  51.    They are Big5, GB and HZ. In HK and Taiwan, Big5 is more popular
  52.    and in Mainland China, GB and HZ are more popular. 'cxterm' can
  53.    be configured to support all of them. Anyway, this will not be
  54.    relevant to kermit, as long as they are 8-bit code. 'cxterm'
  55.    configured to a particular encoding will recognize that encoding only.
  56.  
  57. 2. Open a cxterm and run kermit.
  58.  
  59. 3. Configure kermit. Before you connect your modem to kermit, you need
  60.    some parameter settings:
  61.     
  62.     set parity none
  63.     set command bytesize 8
  64.     set terminal bytesize 8
  65.     set terminal character-set transparent
  66.  
  67.    Then connect as usual and log in to your remote host.
  68.  
  69. 4. At your remote host, set the terminal to allow 8-bit character by
  70.  
  71.     UNIX-Prompt> stty pass8
  72.  
  73.    This example works on SunOS, but the syntax might differ for other UNIX
  74.    systems, for example "stty cs8" or "stty -parity".  On non-UNIX systems
  75.    use the appropriate command (like "set terminal /eightbit" on VMS).
  76.  
  77.    If you don't do this, you can still read Chinese, but you can't type,
  78.    since your terminal will truncate the highest bit of your code. (unless
  79.    of course, your terminal has already been configured)
  80.    You might like to include the above line in your shell rc script,
  81.    so that you won't have to type it in every time you log in.
  82.  
  83. 5. Voila! You should now be able to read/write Chinese
  84.    in your cxterm. Go get a cup of tea or something and try read some 
  85.    Chinese newsgroups.
  86.  
  87.     alt.chinese.txt.big5
  88.     alt.chinese.txt
  89.     tw.bbs.talk.joke
  90.  
  91.    Make sure you have the right kind of cxterm. cxterm configured
  92.    to read Big5 will not recognize a passage written in GB, and vice
  93.    versa. 
  94.  
  95. And for information about how to read/write Chinese using MS-DOS Kermit,
  96. see "Circumnavigating the Web" in Kermit News #6:
  97.  
  98.       ftp://kermit.columbia.edu/kermit/e/newsn6.{txt,ps}
  99.     http://www.columbia.edu/kermit/newsn6.html
  100.  
  101.